# $Id: PKGBUILD 88347 2013-04-16 14:01:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>

pkgname=libexosip2
epoch=1
pkgver=3.6.0
pkgrel=1
pkgdesc="A library that hides the complexity of using SIP for multimedia session establishement"
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/exosip/"
license=('GPL')
depends=('libosip2>=4.0.0' 'openssl')
options=(!libtool)
source=(http://download.savannah.nongnu.org/releases/exosip/libeXosip2-${pkgver/_/-}.tar.gz)
md5sums=('6fef4c110f1305048a8b307f440933d9')

build() {
  cd "$srcdir/libeXosip2-${pkgver/_/-}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/libeXosip2-${pkgver/_/-}"
  make DESTDIR="$pkgdir" install
}
